<template>
    <div>
        <el-form-item label="name属性：" prop="name">
            <el-input v-model="modalFormData.name"></el-input>
        </el-form-item>
        <el-form-item label="上传路径：" >
            <el-input v-model="modalFormData.action"></el-input>
        </el-form-item>
        <el-form-item label="上传提示：">
            <el-input v-model="modalFormData.uploadTip"></el-input>
        </el-form-item>
        <el-form-item label="控件名称：">
            <el-input v-model="modalFormData.label" placeholder="请输入控件名称" ></el-input>
        </el-form-item>
        <el-form-item label="校验错误：" >
            <el-input v-model="modalFormData.ruleError" placeholder="请输入校验错误提示"></el-input>
        </el-form-item>
        <el-form-item label="是否必填：">
            <el-checkbox v-model="modalFormData.require">必填</el-checkbox>
        </el-form-item>
        <el-form-item label="上传大小限制：">
            <el-input-number v-model="modalFormData.maxSize"></el-input-number>&nbsp;&nbsp;MB
        </el-form-item>
        <el-form-item label="是否多选：" >
            <el-checkbox v-model="modalFormData.multiple">多选</el-checkbox>
        </el-form-item>
    </div>
</template>
<script>
export default {
    name:'UploadsConfig',
    props:{
        modalFormData:{
            type:Object,
            default:()=>{
                return {}
            }
        }
    }
}
</script>